package com.fh.service.impl;

import com.fh.mapper.UserAddMapper;
import com.fh.model.Users;
import com.fh.service.UserAddService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserAddServiceImpl implements UserAddService {
    @Resource
    private UserAddMapper userAddMapper;

    @Override
    public int addUser(Users user) {
        int i = userAddMapper.insert(user);

        return i;
    }
}
